Removed Math.Round as need decimal accuracy for unit circle +  modulus
by 360 to make sure that the last end angle is 0 rather than 360.