Initial commit of the stagger solver
Fixed setting negative temp health values
More debug stuff and a typo fix