Enhanced Master-Slave Time Synchronization Architecture for Wireless Sensor Networks