Remove Nan from arbitrary Double