Add doc, test, and intents for _constant_ and _natlog_ interfaces

Changes based off of _calctd_ interface example.

For _constant_ interface, used "intent(in,out)" for array, a.