BPAY Check Digit Routine Algorithm