Added smoothMax to avoid an error.

This is for #286
Changed c file to avoid a compile time warning
Added nominal and start values

This also set the start value for #286.
Merge branch 'master' into issue286_h_pTX
Updated reference results