-fixed bugs in model parameter optimization procedure