Rewrite GPScorrelate in Python, added semi-automatic time correction