Measurement of vibration