Updates to torus model simulation for fixing nearest neighbors of 5-D, 7-D and 9-D tori

git-svn-id: https://subversion.cs.rpi.edu/svn/rossnet/trunk@686 2481c9be-fdbf-de11-a427-00b0d041e3d9
Merge remote-tracking branch 'upstream'