unnecessary to declare m and n here because they are really only used once. you can just put them in
```scala
val ret = DoubleMatrix.zeros(matrix.m, matrix.n)
```