fixed divide by zero errors in erosion shaders