Added a test file, as well as some dimensionality reduction.