replaced inlined js loops with native cs loops
Closes #2 - fixed perlin height map scale to reflect proper noise value ratios