Reliability of a Manufacturing Plant with Scheduled Maintenance, Inspection, and Varied Production