Fixed small bug in Measurement Helper and example code.