modify apply.mat

stop using plyr:::loop_apply
arguments of stopifnot is changed in `lookup`
'list2' stop using tryCatch and become faster