I don't know about poor to top the of the class, but my GPA is significantly higher in pod school than it was in undergrad. That being said the amount of work i"m putting in is exponentially higher, an the degree of motivation is much higher as well.
Just buckle down and do it, it's definitely possible.