Started work on Fortran wrapper