Renamed all 'nan' to 'NaN' in docstrings and comments.
Authored by: bugman 2008-03-22
Parent: [r5156]
Child: [r5158]