kinect automatic angle detection from accelerometer