added wind direction measurement on fixed point arithmetic

still TODO: isqrt