Comment and slight refactoring of RippleCalc.cpp.

* Restrict code to 80 columns.
* Extract a few local variables to help column length.
* Get rid of boost::format.
* Get rid of BOOST_FOREACH.