The background to Newton's Principia