Resolved the bug causing improper classification, better covariance matrix segment labelling for angle comparison, lots of refactoring. Now getting around 15% recognition rate fairly consistently in regards to variation to parameters, which is encouraging.