Fixed NULL DNAPattern problem in baseCorrelation.