Compliment operator improved

Length of the result made consistent with the input for 1's and 2's compliment.