Updated number of samples for 1MOhm resistor