update correl.py close #2 close #3

close #2
add math.isnan() function

close #3
add own function is_float()