improve cglpk accuracy by using double (not float)