Distributions of Current and Magnetic Field in AC Superconducting Cable and Detection of Quench