Nonlinear hull form transformation for use with design optimization