upon creating a matrix program should know its determinant