array operations (+unit tests) added for MatMult library