A computer system for interstitial and intracavitary dose calculations