Added doc for rdfSlotToMatrix

Documentation for rdfSlotToMatrix.  Also added error checking in
rdfSlotToMatrix to error if the requested slot does not exist in the
rdf.