Fix operator= in Matrix class; + minor fixes to Matrix methods