Using the kalman filter, added in a typedef to make it easier