MATLAB toolbox for analysing neural ensembles