Fix issue created by newer requirement to call rtsetparams before rtinput. Also update ancient stuff like setline, get_array.
Fix issue created by newer requirement to call rtsetparams before rtinput. Also update ancient stuff like setline, get_array.

RTcmix/RTcmix,RTcmix/RTcmix,RTcmix/RTcmix,RTcmix/RTcmix,RTcmix/RTcmix,RTcmix/RTcmix