added some external source code for spike train comparison
reverting to old gradient and hess calculator
added fortran files to source control
minor edits to threshold and so file
minor edits
better docstrings