bug fix proposal (issue #26)
Merge pull request #29 from aerhard/measure_zero_fix

bug fix proposal (issue #26)