Changed ApplyDiscount to subtract discount from base cost