replaced custom PI by OpenCL M_PI constant