angle calculation relative to north working