An Ad-Hoc Low Cost Wireless Sensor Network for Smart Gas Metering