- split inline less/js into own files

- changed terrain calculation code to slow but more accurate method