C# draw sin, cos curve