Calculations for the 3D lattice potential in apparatus3