Remove explicit Python 2 versions where there is a working Python 3 version.
Remove a couple more explicit Python 2 versions where there is a working Python 3 version.
Remove Python 2 specific version of Cythonized partial sum evaluator.
Tidy up the SCons build file.
Tidy up the C and C++ codes.