Improved river defining and eroding

Created a new function "flattenriv" to create an erosion effect around
around rivers and also giving them more definition than the previous
eroding function.