Declare some common methods
Attempt to calculate determinant of matrix