Accelerometer Based Self-Discovery of Multiple Link Kinematics