continuousWorker function

The worker function to calculate continuous NKDE (with ARMADILLO and integer matrix)