Text this: Optimal Inspection and Maintenance Policy: Integrating a Continuous-Time Markov Chain into a Homing Problem