code complete on HMM train
made macros work
made macros work
py script