add getData,getIndices,getIndiceMat routines. #1