Calculate the roughness coefficient