began adding determinant function to matrix class