very bad way of calculating pi from 4.0/(1+x*x) integral