Made use of powi in inv_inc_beta