added support for directory structure in fitlomb tools, added multiple pass support to saving fit data
fixed bug in amplitude calculation, incorrect indexing into cs_f..