Implemented some changes to lattice points. Going to test for compilation...