fisher relevance code ver 1