who invented science and math​