Use better types in RippleCalc (NOT COMPLETE).