Fixed severe bug in computeSum(), made Random rand public and static, solutions now are sampled with replacement (i can be the same as i1, i2, ...)