vector**2 is dot product in NumPy