cost-based pricing formula