Quaternion Analysis of Power Supply for Tokamak Plasma Control