calculate_performance function

Calculate performance of prognostic models