py2.6 fixes
sgr-example py2.6 and style fixes
fix accuracy tests to work with 3.x