Added functions integTransformEither and sumTransformEither.