A generalized mean-reverting equation and applications. (22nd October 2014)