Updated R2.R to include RDA method
Revised for compatability with coeffDet.R
Updated to reflect coeffDet function