Adding NaN functionality to chr_matplotlib

I have modified auto_remap to work correctly in case of NaN's in the input data, and corrected minor issues: indentation and a NoneType return value error. I added an example with data, a python script and the output image, where NaN's are retained and plotted in black (colour outside the chosen cmap), and zeroes are plotted in white.