Revisions to for optional use of ratios or BigDecimals.

Doesn't work yet.