Bug fix: restricted subsampling to [-0.5 0.5]

Shifting the spike time by more than half a sample could lead to a
condition where the posterior decreased by inserting a spike, because
\Delta L is negative at the up sampled (smoothed) peak.
Bug fix: residuals weren't calculated correctly