Fix warning with MSVC 14

Microsoft Visual C++ 14 has a new warning:
"warning C4456: declaration of 'denom' hides previous local declaration".
Merge pull request #2 from MarcelRaad/patch-1

Fix warning with MSVC 14