The Partition Functions of Methanol