use better python2 integer vs. floating point division workaround
use better python2 integer vs. floating point division workaround

perlinm/qcdg-nv-simulation,perlinm/qcdg-nv-simulation,perlinm/qcdg-nv-simulation