Purpose: Checks whether a state has been found in all comparison 
         calculations  and computes the internal error.

Usage  : fdcheck k exact datasets 

     k = number of datasets.
     exact = 0 if if there is no exact comaprison data set, =1 else.
     datasets = data as created by fdmatch.
     Example: fdcheck 4 0 < list
     where list contains the output of fdmatch, or:
     fdmatch f1.eig f2.eig f3.eig | sort -n | fdcheck 3 0