Update of Square Matrix Class