Added linalg util functions, PCA script, classes

The code in PCAscript will later be integrated into its own function
instead of just a script. The classes are currently incomplete.