The Heat Capacity of a Diatomic Gas