+ update to hdf5 new version
+ fixed problem when no samples (seg fault)
+ simplified decision model