Fix market engine, update how interest is paid.

Every time a withdraw is taken from a balance the full interest is paid.