Fixed a problem where the following error was getting wrongly triggered, due to improper reading of log files:
ERROR Matrix_Multiply only allowed for nxm by lxn matrices
second matrix must have same number of colums as first
matrix has number of rows