Who was the mathematician and philosopher known for his work with infinitesimals and the invention of calculus?