matrixProduct - added some tests and logs