add parallel option to chained_lsqfit; lots of other tweaks
tweak
prep for upload