Bugfix in hitcount. Transposed the wrong argument to pmat_core.hitmap