Added missing #endif that was preventing compilation in vs2010
Merge pull request #1 from ChrisJD/experiment

Added missing #endif that was preventing compilation in vs2010

- fix #1