Predicting Activity by Phone Accelerometer and Gyroscopic Measurements