remove old dimer method

it was not used and not tested.  There is a new GeneralizedDimer method
which might be usable but is not necessarily robust yet.

fix some bugs in generalized_hef and re-activate the tests
remove some unused functions

also update compute_cv.py