Created a single supply circuit for Envelope Detector