Fixed DepthModule to correctly utilise resultIsa and resultGenl for
functions.