Stochastic Models in Reliability and Maintenance