initial sdm.r
Merge branch 'master' into develop