Beam Localization in Cobalt and Megavoltage Therapy during Treatment