Unfortunately there is not much that you can do. Here is the real problem. You never have the time or resources that you need in graduate school, so your grade probably reflects your classroom ability. The good news is that you survived. A lot of people can't even say that.