small fixes, new file for comparing R code with ES-SDM software output