A low-power motion capture system with integrated accelerometers