simplify
extract pca stuff, implement neural net evaluation