Hi:
Unfortunately, the link you posted is not working so I can't see the original problem.
I have had some experience in this area because I created ATM cash management programs and
predictive models for a major bank about 15 years ago - we were a little ahead of the game
at the time.
If I can access the link, I may be able to help here.