What did Feynman investigate while working on quantum gravity