added naive gaus-solver