Minor fix to setting gravity direction (force float).
Minor fix to setting gravity direction (force float).

geodynamics/spatialdata,geodynamics/spatialdata,geodynamics/spatialdata,geodynamics/spatialdata