Added 1D irregular grid support