Fix mistake in array ops, add negate op