Created a version of determineOrientation for SpatialBlock