Numpy Matrix Product Of Two Vectors And Translations