A Linear Model for Continuous Path Treatments for Stereotactic Radiosurgery