Extended Discrete Dipole Approximation (E-DDA)