Revised to work with LQ on alnalogue circuit example with integration