Hidden Markov Models using HMatrix primitives

#1type checker of GHC-7.10 rejects this library