Fixed lattice cell overlap error

The error was caused by particles that were in a lattice cell with surfaces close to the origin but were outside of the lattice bounds (both hex and rect lattices).