Interpolating an array to fit another size