change erfc_inv to allow all values 0<x<2 and Makefile