ALS/WALS: use rankUpdate() to update XtX

This optimized calculation gives around a 2X speedup on the small netflix set
in my testing (D=20)