MEMS-based motion detection & analysis system like Mircosoft Kinect