Handle NaN's correctly in path analysis routines. Fixes a bug where
the best location for a legend was not calculated correctly when the line contains NaNs. - MGD
Authored by: mdboom 2010-08-16
Parent: [r8633]
Child: [r8635]