Sift-fixes

I've fixed a few bugs in sifting.py.

These were only relevant if using the non-default plotting and tracking features.