fm_lattice_2d function

Make a lattice object