Wireless optimization for sensor networks using IoT-based clustering and routing algorithms | Synapse