sungear as optimization parameter

added sun gear as opt variable in order to allow global optimzation