Switch to using an array of 3 elements for quadratic number fields.