ListNet and ListMLE re-implementations