Added TwoSidedEqualityFactor.

Added TwoSidedEqualityFactor.

Tests also take on negative values, now.