Added Mat3 determinant function