Minor Refactoring. Changing calloc to malloc when it is unnecessary for the bits allocated to contain all zeros.