Tidied up HEEPCut code.  Added MET module.