HMM split into more versions.

Fortran is faster than C! :-) ...