implements the core Fock operator in MOFile