removed gph-math, will use a c library