Fixed drawing negation of function and superfluous output.