update to simHMM; moved reals; documentation