Added a getDeterminant() method to the Matrix class.