Arrays documentation

Documentation fixes for the arrays branch