Add firm-transition-function.R