This error may occur in the following situations:
To solve this problem
In order to multiply matrices, their "inner" dimensions must be
equal, that is the number of columns of the first matrix must be equal to
number of rows of the second matrix.