Computation and modeling of eddy currents in tape-wound square-loop cores