Division bug fixed. And fixed some other bugs.