Added boundary finding
Added neighbour mean functionality to SPData