Calculates the appropriate rip rap size for erosion control based on flow velocity and other factors.