Developing a Modified Fuzzy Nearest Neighbor Rule for Pattern Classification