Plotting A Function In Matplotlib