Added StochHMM check function