changed parameter optimization methods: now taking total iteration count instead of count per parameter