minor grid changes and added perlin noise class