You can fit this in one line (still under 100 chars) and use string comprehension to slightly improve readability
```scala
      throw new IllegalArgumentException(s"Expecting a well-formed matrix: m=$m n=$n")
```