Python Program Using Numpy Array To Scalar And Vectors