Improve calibration accuracy by using a weighted average.