Guided hybrid input-and-output (GHIO), HIO and shrink-wrap Matlab functions