Kalman filtering, smoothing, and recursive robot arm forward and inverse dynamics | Synapse