Split RippleCalc.cpp into smaller parts.

This is for the next series of reviews...