Fix DDM_input_output.c and, or, not, xor operations was bugged