Fixed example

Optimizing the translation parameters with GN seems to lead to
ill-conditioned JT*J matrices. Modified the example to optimize the
rotational part only.