Added least squares and pseudo inverse.

That also involved patching the wrapper scripts to be able to deal with strings... .
Added install script such that travis builds install the gfortran libraries needed for Linux 64bit
qr decomposition added