Dot Product In Python Using Numpy