Ensuring range is 0 to 2pi 

I hope I used the correct syntax. Intent is to add 2pi and then take fmod of 2pi.