added function sample_ttol to sample temperature values from species thermal tolerances