replaced bit matrix w/ uint16_t*