Included reasonable parameters for the optimization, removed useless error message from simulation