Remove debugging code
Remove timing routines
Replace non-standard intrinsic functions
Enable profiling flags when linking debug version
Use proper indentation
Use input file basename for output files