add isNaN function

I saw previous issue about this function (#164) and decided to implement it to learn more about Accelerate inner workings.