Residual amplitude modulation and its mitigation in wedged electro-optic modulator