add long/lat pos to devkeys
Add RAD2DEG to libs.h
Fix indentation, use atan2 instead of atan
Use asin for lat and normalized position for both
whitespace fixes and extra consts
Merge branch 'add_lon_lat_to_debug_keys'