simplifyLine now correctly handles NaNs
simplifyLine now correctly handles NaNs

The line simplification now breaks lines at NaN boundaries, performs the
simplification on the sub-lines, then re-joins the lines with nans.

egeerardyn/matlab2tikz,matlab2tikz/matlab2tikz,matlab2tikz/matlab2tikz,PeterPablo/matlab2tikz,egeerardyn/matlab2tikz