Add option to standardize features

Note that the mean and stdev are calculated on the training set only, and then applied equally to the training and test set. It doesn't make a big practical difference, but if you took the mean and stdev over the whole dataset, you'd technically be cheating by using the test set during training.