Rotating in four wind directions and returning the best match among them