calcRiskInput implemented.