EM Algorithm for Time Invariant State Space Models - This script has been superseded by EM.
EM
Useful links