Create BinaryIndexedMatrix