Deriving the Long Run Marginal Cost Curve