Fixed optimization call in InvKin