PANIC: a 3D dislocation dynamics model for climb and glide in epitaxial films and heterostructures