Switched to Calloc for Division

Some parts of the division algorithm now use calloc, which should be
faster than doing malloc and looping to zero all the memory.