added FDR-threshold computation facilities
template matching threshold tests