fixed Homodyne comment, bug in sweep