Updates to TECal

Haven't done a pull request in a while. Figured I should put this in to keep things from diverging too much.