Sovereign wealth funds across the world have had a good year with most of them doubling their returns in 2017.