added basic matrix operations for MatMult library