Human Motion Alignment Using a Depth Camera