Bug fix in MotifRefinement and EnrichmentScores.

MotifRefinement had a bug when producing Logos.
EnrichmentScores produced pdf plot instead  of png.