Modified HMM create function to have more verbose arguments.