Added get methods for variance, ucb and mean.
Merge to branch master.