Ship over troubled waters: Functional reasoning with influences applied to the diagnosis of a marine technical system