Fixed bugs

- hmmgeneratematrix2d should actually work now
- removed references to friedmandecode (old name for hmmdecode2d)