Added LU-decomposition and determinant calculation.