Optimized EquationSolver. Matrices are Createt on the CPU => 2x total speedup