Adapt py_alf for Submodule Hamiltonians
See
ALF#166 (closed)