remove incorrect description of time complexity
fix define of M_PI