reinstated option to run old twopdm code if desired
deleted old files