Renamed modelsteps. Added end-to-end socmodel function.