Numerical linear algebra for Scala