Created standalone file to build and save HMMs for various numbers of modes, etc.