Added nextNumber to MathHelper