Calculating mechanical properties