Text this: Accurate RFID Trilateration to Learn and Recognize Spatial Activities in Smart Environment