Construct a new 1D Kalman filter.
higher values of R puts more trust in the model
higher values of Q trusts the sensor more