support cBind

support cBind API and fix bug when matrices multiplication