Make fast_resample work on generic axis

Signed-off-by: Mark Hymers <mark.hymers@ynic.york.ac.uk>
1 job for 16-extend-fast_downsample-to-work-with-nd-matrices in 1 minute and 49 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Build Test
passed #68695
build_test

00:01:49

31.0%