getAsRisk function

Generic Function for Computation of Asymptotic Risks