A new reduction algorithm for marine heat flow measurements