Better debug messages
Use emission probability as initial value
Use correct size constant for maxium calculation