Start working in ability to wrap the time series around t=0, still needs work as I think we need some stationarity constraints.
Fix memory bug, small cleanup