Beginning to update ld function, inlined bitcount function, 2d to 1d array index macro UTIDX