added extra math header
add custom GRT isnan and isinf macros
Merge remote-tracking branch 'upstream/master'
changed isnan to grt_isnan, nick please double check it ;)