Capital Gain Index Calculator