Fixing sign of closeness heuristic. Corner heuristic now uses same coding standard as others.