Current Distribution in the Winding of a Superconducting Coil