extended to better and directional dipole gpu implementation (naive)