function for calculating pos
Merge branch 'master' of https://github.com/jensa/group9gps