Fixing UCB1 and UCB1-tuned algorithm calculation of upper confidence bound

Addresses issue #432 - swapped terms in the calculation of UCB1 and UCB1-tuned confidence bounds.