Add option to create differential memory graph

The existing functionality to create a graph of memory checkpoints should be extended to allow for plotting is in a differential way, that is, each point showing the difference to the previous one instead of showing the total memory usage