Added casts so it works with  ratings with a decimal point.
Added a faster version without mapping and matrix.
Fixed maxUid and maxIid for the fast reader.
The reader now computes the matrix when it's first needed.