Title: Study on the Use of the Magnetic Hertz Vector to Calculate Fields in Cavities