> I am not sure the conversion helps. If the resulting Cartesian coordinates > tends to be zero, then the variability of the polar angle increases > dramatically. That is not an artifact of the calculation method, it is inherent in the problem statement. What is the average direction of two compass readings, one North and one South ? Wouter van Ooijen -- ------------------------------------------- Van Ooijen Technische Informatica: www.voti.nl consultancy, development, PICmicro products docent Hogeschool van Utrecht: www.voti.nl/hvu _______________________________________________ http://www.piclist.com View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist