Matlab and other code for analysis of 386 well data