thermal erosion
code clean up and parameterization