added sample copying and methods to HMM/HSMM classes
fixed up state sequence copy_sample(new)
added copy_sample to transitions