Use C function for real_1d_array output conversion

... becomes reusable...
First steps towards wrapping integration.h
More integration wrapping