Updated kernel/array.h documentation

  * Moved function descriptions to the header
  * Declared wrapper functions as static inline in the header
date is required extension