electronic structure is now py3k compatible.