Comment cleanup.
Move calibration data into definition where it is used.
Remove unnecessary flag variable use arg directly.