An Analytical Method for the Analysis of Inhomogeneous Continuous Markov Processes with Piecewise Constant Transition Intensities