SMS: Statistics for spatial data