Sensor models and localization algorithms for sensor networks based on received signal strength