Binary array handling

Francisco,

I think the binary array handling is about ready to merge.

-Glen