make erfinv work on the gpu.
Added comments to Erfinv=>ErfinvGPU optimization
Removed unnecessary reference to math.h
Merge pull request #1291 from gdesjardins/erfinv_to_erfinvgpu_rebased

make erfinv work on the gpu.