In order to be competent to stand trial, a defendant must have the sufficient present ability to consult with his lawyer with a reasonable degree of rational understanding and must have a rational and factual understanding of the proceedings against him.