Update/fixes to matrix class.