The soldier wrote a scientific breakthrough while sailing across the seas.