Add grid, filter NaN out, deal with complex numbers