Ryan update of calc_RT and main