extended gradient test for ranknet