Adding new member method commutesWith(Matrix) and creating tests.