Fixed several bugs: 1) Invalid database creation with sampling 2) smoothing resulted in non PSD covariance due to off by one timestep 3) incorrect cur and next leveldb saves. Also added more params to the config