Add allocreal and alloccomplex to allocate real and complex arrays.
Implement adaptive RK2/Euler method for pseudo time-stepping.