as.sparse-methods function

Convert DenseNeuroVec to sparse representation using mask