Update demodual2.m