System inversion based control of an overhead crane