changed calibration num samples and sampling frequency