Solving a direction finding problem with a single anchor positioning algorithm