Dark Matter, Dark Energy & the Quantum Wavefunction