Use calloc instead of malloc

Save graph initialization by graphInit.