compute data mean for float_data
move if outside of forloop
Merge pull request #134 from mavenlin/computemean

Allow single data in computation of the data mean.
HDF5DataLayer source is now file with list of
HDF5 filenames; only one is loaded at a time.