Text this: An improved geometric algorithm for indoor localization