Removed some debug messages and changed a method name in the Matrix class.