Alex's MATLAB library