Add move ctor and copy assignment operator to class Matrix.