Added flag to paint NaNs as black