putting calloc instead malloc, removing bzeros

ok deoliveiraa