diffeq.m: moved tempfit function to the top for organization, switched back from even time step to staggered (the ones in the input list)