Last commit before changing method to clustering with domSig instead of funcs.