Amplitude modulation circuit and how AM works