Add doc, test, and intents for exp_aray interface

NOTE: exparay.f contained mistake:
"b(i,j) = exp(b(i,j))" should be "b(i,j) = exp(a(i,j))"