Indoor Autonomous Positioning System on Smartphones using ComPass Beacon Device