Initial commit of R code to run PMF

Revised file of useME2_11jun12.R.  Must have at least 3 sources.