rrisk function

Calculate resampling risk and expected resampling size