stringify(): Moved from concatenation to join
Fixed test: singular matrix has determinant 0
Added isTriangular() and modified det() for triangular matrices
Added linspace()