Added classification with trace and determinant