got the god damn dragging working with arbitrary matrices