Started writing some Fortran glue code