replaced some usages of numeric with linearAlgebra module