updated data analysis routine. added parameter reporting.