mean_robust function

Calculates the mean robustness after a stress event.