Numerical treatment of homogeneous semimarkov processes