Fixed bug in negate operation