Initialize arrays, more skeleton code for integrator functions
merged