Overloaded nonmember operators for matrix