Updated kernel/array.h documentation

  * Moved function descriptions to the header
  * Declared wrapper functions as static inline in the header