Still fail but roughness calculation is in a function on its own