Text this: Improved trilateration for indoor localization: Neural network and centroid-based approach