perlin API change

Moved the quality control to the PerlinGenerator2D struct instead of the
Get() function.