fix bug in erfc, causing problems in normcdf and kstest