A novel approach for solving three dimensional eddy current problems in fusion devices