Weighted median in camera tracking

The median position is currently unstable during N-body run with merging. Use particle masses as weights when evaluating the MedianTracker.