Added scaling of measurement values.