Inhomogeneous Random Evolutions and Their Applications