Phased out use of MathNet Numerics linear algebra package.