I have not looked at the code to be sure, but I think you are getting a conflict of matrix objects. Â Webwork has its own matrix object which predate PGmorematrixmacros (so morematrixmacros may be trying to use them), and the Mathobject matrices came after that.
John