Fix bug in plotRateThroughTime and add more information to the documentation.