riph function

Random inhomogeneous phase-type