Merge pull request #1 from sunivengg/get_transition_duration_function

Get transition duration function