Added data type to spatial statistics