How to convert a rough line drawing into a refined line drawing?

I have a Wacom Intuos pro paper tablet and I sketched this rounded corner square on the left and imported the SVG to illustrator. I want to know whether there is an easy way for me to convert slightly rough lines into evenly straight lines without having to arduously rework the image or trace the entire imported image on new layers. (The image reference used is just a rudimentry example to try and explain what I am referring to.)
