Class NewPaymentCalcDemo implemented