added documentation, added const correctness and setup LibStruct so we don't have to re-parse sbml, fixed bug in currently unused code branch of lmcurve