calculating variable cost per unit