moved csmatrix into nb dir