added SDF function, starting error function
Merge branch 'master' of github.com:jread-usgs/WiLMA