fixed coop_num2str

num2str more robust