change from * to np.dot