compute_ol function

Compute Opportunity Loss