Make DoubleEliminationHeat inherit Heat, Fix algorithm logic error