rudimentary support for onsite energy, working dipolar model, test for flatband model on honeycomb lattice