Separate logic if only measureing the variance.
Merge pull request #10 from kiyo-masui/fix_measure_noise

Separate logic if only measureing the variance.