A new implementation of gain calibration (via test mode) has been implemented