Latest model changes for the R competition.

Some of this work (mikedecuir_model.R and joint_model.R) are the
collaboration of Dev Nambi and Mike Decuir