Fix M arg list --> vector in OptimParams