But Darth Vader had more of the things in his body that tell about the Force then Yoda.
That doesn't mean he was the most powerful, he had the potential to be but he never reached it. If he had then yes, he would have been the most powerful but he didn't so it goes to Yoda and then Luke.