finished piped API and MATLAB wrapper