Fix units.
Merge branch 'master' into pmg3
All core classes seem to be py3k compatible.
Fix Lattice unittests.
electronic structure is now py3k compatible.