src/Matrix.js
function _sizesMatch(matrix1, matrix2) {
  return matrix1.size.rows == matrix2.size.rows &&
    matrix1.size.columns == matrix2.size.columns;
}
function _sizesMatch(matrix1, matrix2) {
  return matrix1.size.rows == matrix2.size.rows &&
    matrix1.size.columns == matrix2.size.columns;
}
function _sizesMatch ( matrix1 , matrix2 ) { return matrix1 . size . rows == matrix2 . size . rows && matrix1 . size . columns == matrix2 . size . columns ; }
Checks if both the number of rows and columns match for two matrices

@param {Matrix} matrix1, matrix2
@returns {Boolean} match
Checks if both the number of rows and columns match for two matrices