Determination of wire resistance caused by skin effect using modified 3D finite element model