vibration measurement using accelerometer