Implemented scaling method in generic cash flow.

Relates to #156