fixed all t1 tests, modified qsolve_sqrt() to use the more precise math library sqrt function