multiplication of 1d arrays in numpy,"np.dot(a[:, (None)], b[(None), :])"