Typo fixes and improvements to new_array_type() docs