Gravar-mail: Novel Approach Sizing and Routing of Wireless Sensor Networks for Applications in Smart Cities