Python Kalman Filtering Methodology