Calculating Marginal Opportunity Costs