Added: Discount calculation for XforY, XforYifZ and XifY
Todo: Xpercent