Impact of the dark matter velocity distribution on capture rates in the Sun