rename files

Rename files to fit with plotting conventions.
remove duplicate code

Lots of cleanup.
fix figures

Cleanup some of the math notation.
fix spacing
Merge pull request #4 from ayr0/forrest_knn

Fixes for Nearest Neighbor