Update spatial_functions_defs.py

Adding extra function definitions