calculateElementalStress.m