CreateOptpar function

Create an optpar list