removed components for adder and negator, simplifying syntax and correcting output waveform