Updated collapse_nb to include many useful functions, now I can analize most collapse data.