Brian: some basic stuff i was doing for perceptrons
non tests and only covers up preprocessing, no training or testing