I need some advice.  Some matrices like lil_matrix is not inherited from data_matrix.   the power function is implemented for sparse matrices inherited from data_matrix (or _cs_matrix) only.  I can't use spmatrix(A) in my test that I have to test the ones inherited from data_matrix only.