Ex8: new vectorized recommender systems gradient