added rdlog and replog tests exercising the new optimization option. minor performance benefits.
added rdlog and replog tests exercising the new optimization option. minor performance benefits.

KDahlgren/pyLDFI,KDahlgren/pyLDFI,KDahlgren/pyLDFI,KDahlgren/pyLDFI,KDahlgren/pyLDFI