Computer simulation study of a two-dimensional dipolar lattice