getRiskIC function

Generic function for the computation of a risk for an IC