class that implements diluted lattice added.
Requires more testing.