The scientist who developed the theories of gravity and motion was