calculating amplitude from vibrator motor