James Ivory (mathematician)