Efficient Algorithm for Privately Releasing Smooth Queries