Matlab files for riser slugging: see home page of Sigurd Skogestad