Converted and fixed compile errors in
Spatial/Prefix
Spatial/Util

Also fixed some compile errors in other sections of Spatial.