Sampling Of Sine Wave In Python. Changing "samples" gives some strange effects on the py