Application of the LQ-Problem to the Control of a Jib-Crane