Added the toTwoComplementsMethod to ByteConverter and unit tests