Merge pull request #1 from sunivengg/get_transition_duration_function

Get transition duration function
Merge pull request #2 from sunivengg/master

Merge pull request #1 from sunivengg/get_transition_duration_function