Fixes #421
Now interprets the inverse of on a feature group when comparing
direction of the feature group with the elements in teh feature group
type.
Also corrected the check on the direction of the feature refinemnet.
There was confusion as to which was the original or the refinement.