added demo perlin noise and some command line options