got rid of discontinuity between -180 and 180 when averaging
Merge branch 'master' of https://github.com/sparks/rter