FIX: Resample regression

Noticed when I ran  plot_cluster_stats_spatio_temporal.py that `_smart_pad` didn't work correctly because `len(x) < n_pad`. This fixes that by padding with zeros as necessary. This is a regression with a straightforward fix so I am going to merge.