added all files including the python routine (standalone script) and a C version that requires gsl. The C code is compiled using make and run with the run-C.sh wrapper