Fixed error message to refer to the correct class
Kept working in new material.

Need to figure out how the displacement at damage initiation is
calculated.