Fundamentals of metal fatigue analysis