Fixed the integration subroutine and tidied up rootfind and array_io.
Added some support for integer(1), integer(8), and real(16) variables in the array_io module. Also changed how it specifies the integer and real types so that it is more portable.