fix for daily interest calculation with declining balance