Text this: A new algorithm for indoor robot localization using the Turning function.