Added Rand class used by ValueNoise function