Wavefront shaping in multimode fibers by transmission matrix engineering