Nested data parallelism

Notes on flattening (or otherwise handling) nested data parallelism (NDP). To my knowledge, Guy Blelloch's work on NESL was the first to do it.