Calculate Gross Margin Formula