Improved the plots with the new data format and other variations. New matlab functions added.