Cofnod E-bost: Wannier functions using a discrete variable representation for optical lattices