ticket #8 : added a local constant for (PI*2) to avoid repetitive/unnecessary calculation