Calculation of bragg-scattering in a 3D lattice of ultracold atoms