Added parameter for maximum displacement for terrain generation.