The Partition Function of Methanol