Towards Safety from Toxic Gases in Underground Mines Using Wireless Sensor Networks and Ambient Intelligence | Synapse