From the Kalman Filter to the Particle Filter: A Geometrical Perspective of the Curse of Dimensionality