PerlinNoise terrain surface generation, PerlinNoise.java source and credit goes to op http://stackoverflow.com/questions/16973848/perlin-noise-generation-not-functioning-properly