Had to make a change in SFR_classes-->assign_layers such that STOP below the model bottom was correctly handled.