Hero: 5

4
Villain: A

K
Board: K

4

9
Hero has 5 outs, any 4 or 5. Rule of 4 on flop gives you 20%
If you manually calculate it you get: 1-(40/45*39/44) = 21.21%
When I run it through poker stove it is:
Hero - 18.384%
Villain - 81.616%
So my question is how can I calculate the most precise answer, as given by pokerstove for equity on the flop? Thanks, let me know what I am missing. Does it have something to do when villain improves even though we do?