Working with linear KF