maintenance planning methods and mathematics