fm_lattice_Nd function

Lattice grids for N dimensions