1D examples

Add support for 1D grids in MMSP.main.hpp and example code (typedefs and generate functions)