BinaryMatrix fix + BooleanArray extension