Added calloc function to memory allocator