Matlab library - useful functions and scripts