Mercury: A Wearable Sensor Network Platform for High-Fidelity Motion Analysis