A New Algorithm For Inner Product