integrating Peter's updates to the RELAX code
Merge branch 'dynamic-fortran' into allocating-big-vectors