Calibration of piezoelectric RL shunts with explicit residual mode correction