Fix for data conversion
Remove unneeded xmalloc
Add a time var to the mix for energy hdf5 profiling
Remove unneeded variable.