Updated ring modulator with time envlope, bugfix in time envlope in runtime monitoring