added some timestring graphing code
and also added a RIF implementation.