spatial coordinates in 3d hidden markov models 2762773