Yeah thats the way I did it with the angle as the parameter, which gives 4/pi. I still find it weird though that it yields a different answer with distances, using:
\bar{L}=\frac{1}{2}\int_{-1}^{1}2\sqrt{1-h^2}dh
Oh well, the angle way is more intuitive anyway lol.