Updates to Spatial

Updates to both Spatial and Phidget to clean up code