script to interpret and plot consolidation curves