Updated erosion formulation to use A and n coeffs.