Implemented getMax/Min x,y,z method for Lattice