Some linalg changes.

Change StridedMatrix to AbstractMatrix for MATLAB compatible functions. Allow all number types in Triangular and Hermitian. Make inv work for integer matrices.