Added some more code, also with integrators, detectors and reciprocal amps