Ravi's DupHMM code which interacts with StochHMM. Requires XCode Project settings