Numpy Vectorize Setting An Array Element With The Longest