Edit to linalg.py PCA function to stop it changing data matrix.