debugging cooling function (alpha files redone), added plotting scripts