chaged Joes code to use mysterious g2 sign flip, works now
(#304)