tests the epsilon function for manager
tests that weights, when changed by random epsilon, do not go below 0 or above 1
fixed issue of two sums being equal and choosing a third worse candidate and changed scope of variables in eps method