Plotting a simple sine function