edit052514

Modified algorithm to take away random subset of classes before building
rotation matrix, also use probabilities to make predictions.