General 3-dimensional solution of eddy-current and laplacian fields in cylindrical structures