Added Rand class (using a seed to generate values for the valuenoise function)