fixed bug with the shape of X_nsc in features.py and saving the PCs