Fixed range 2*pi and changed to 5000 terms