Fixes #027 by correcting a sign error during contour rotation.