calculating shear's modulus