Calculation of vibrational zero-point energy