first attempt at adding temperature distributions
debugged temp_dist