WriteOptpar function

Write an 'optpar.txt' File