Gravar-mail: Calculating Weighting Factors for Mixing Megavoltage Photon Beams to Achieve Desirable Dose Distribution in Radiotherapy