I would like to calculate the variance of angles.
The problem is that angels are cyclic.

> 
> Variance{0°,0°,0°,0°,360°,360°,360°,360°} = 32400 - should be 0.
> 
> 
> Variance{0°,0°,0°,0°,90°,90°,90°,90°} = 2025 - correct.
> 
> 
> 

You get the idea...

Is there a proper way to compute this?