Added normalization to accelerometer values.