Fix to allow quake to work on simulated data, runs per sample rather than all together