Added toArray method to EquaSet.