Solved minor problems at random search, hmm_trainer, cmdOpt