Text this: Development of a new method of crack modeling and prediction algorithm