Was the pain in the quad muscle near the kneecap or perhaps the inside of the knee right at the joint line? Either way it's probably a strain/sprain of some sort which should improve over time; you might check out your mechanics when pumping hard uphill and see if your knees tend to drift inward - this could be the cause of the injury to begin with