Plot cosine function

Plots the cosine function instead of sine
Plot sine and cosine function

Now it plots the sine and cosine functions