Added extra arguments in subroutines such that potential and field at target are returned to callee.
Added dipotf subroutine that computes potential and field at target points directly.