Updated the automake files. Added a C++ header to externally link to the relevant FORTRAN subroutines.