First iteration of building the hamiltonian matrix at an arbitrary wavevector - still entirely undebugged