Addition of ecospat.R function

Added new script file with ecospat.R function. This version requires
further work to work with current ecocrop model format.