Sonar uses a tempo map which can be edited with a system similar to any envelope...
Open Tempo Map and you can create nodes as well as curves/jumps from any tempo to any tempo at a slope/rate...
This works great as long as it's all midi or mapped prior to any audio recording...