Cross Sectional Momentum Python, The coordinates of u and v must match.