Started adding code for stratified flow.