adding chi2inv.for and invnormcdf.for