Implemented gradient look-up function
Changed river slope map to radial gradient
Added a closed square curve to auxiliary scripts
Fixed 0-index bug in slope and gradient look-up functions. Cleaned up node expansion code.