calc_selectivity function

Calculate selectivity from gear parameters