fixed up the code
added in sphynx docs to pyhuddle + fixed up the documentation