debug for fisher_discriminating, resolved performance issue.