continuousfunction2 function

The main function to calculate continuous NKDE (with ARMADILO and sparse matrix)