introduces first version of the hcore-calculation; still work in progress