Hindered rotation of methyl groups using nuclear magnetic resonance