Title: Ab initio calculations on the electronic states of 4fn ions with applications to [EuO6]9̄