Changes the dmeasure in the c code

I revised the dmeasure in the code to remove that ISNA part