Faster nanmedians etc. using bottleneck optionally