Effect of Confinement on the Dynamics of Methanol