A set of general MATLAB tools