added R mapping code
updated R mapping code and smsim results code

- created long form file for r mapping