fix sin model for kalman filters; add support documentation to help people implement kf's.