Incorporating strain variability in the design of heat treatments: A stochastic approach and a kinetic approach.