made stdNormCDF a public function; added getW function