Modification to allow online filter to work with linearized models