Using Planar Features for Fast Localization in Indoor Environments