Bugfix for LO local Hamiltonian setup. Also made some variables allocatable to avoid OpenMP problems.