Make two array same length along last dimension
Make two array same length along last dimension

Works on any array dimension, as long as it's the last dimension that we
want to be the same length.

achabotl/pambox