Small progress on gridding computation.

Changes aren't big, getting acquainted with Halide.