Add a avg_nsteps for DiffusionAnalyzer. Improved unittests.
Fix doc.
Fix unittest.
Automatic Py3k merge for testing