This is updated from work.  I have added something from Leeds about the HMM models.  It needs to be completed.