A New Formulation of Quantum Mechanics