Prepare for SPSA tuning

Prepare for SPSA tuning