case sensitive fortran functions changed to lowercase with the hope to compile at unix