Contextuality And Noncommutative Geometry In Quantum Mechanics