3D simulation of superconducting magnetic shields and lenses using the fast Fourier transform