updated plotting of linear regression and comparison of blocks from 2 files