removing ncmatrix