The functions contained in these folders were downloaded from the MATLAB file exchange. 