Updated the way error bars are plotted to allow for more different types of error functions
Added functions to write and read a structure from a set of datasets in an HDF5 file.