FIX: Backports

np.nanmean doesn't exist on some systems, this adds it.