Fix python wrapping for CorrelationFunction
(#297)