finished partially vectorized normalization of training set features and begin initial outline of complete vectorization