Reformat comments in array_basics.c and added partial documentation to nans_etc.c.