Understanding Quantum Theory in Terms of Geometry