Fix std. error calculations
Update main scripts and param files