Fix bug. malloc instead of callc in init_bitmatrix