Newton's explanation of gravity as an attractive force seems to have been superseded by Einstein's explanation of gravity as warping of space-time. Was there any advances in math and science that was not known in Newton's time, that would have laid the foundation for Einstein to give a more accurate description of gravity in General Relativity?