Changed nmr_flatten to transpose the NMR data

scikit-learn's PCA implementation expects the input data to have
dimensions n_samples, n_features
The NMR npts corresponds to n_features so that dimension must be
second