Added creation of lattice of sensors.