fixed bug, ratio calculations

was using smoothing in the calculation of the ratio