Algorithms and functionality of an intensity modulated radiotherapy optimization system.