Develop the Sparse Matrix Representation extending the current MatrixPreferenceDataModel using the package:
http://docs.scipy.org/doc/scipy/reference/sparse.html
PS: you should take a look at this:
https://github.com/piskvorky/gensim/blob/develop/gensim/similarities/docsim.py