Fixed a bug in the new_layout that was preventing checkpoints from being writtenproperly (some data was missing due to an indexing error).
Added write statement indicating what the new time step is when the new stime step has become too small.