discontinuousWorker_sparse function

The worker function to calculate discontinuous NKDE (with ARMADILLO and sparse matrix)