Spatially multidimensional secondary ion mass spectrometry analysis