A unified approach for optimal dose delivery and trajectory optimization for the treatment of prostate cancer. (August 2021)