Which scholars made great advances in the theories of motion?