Add MS functions for isnan; need to use still