Datatype fixes

Changes from using unsigned int to more specific uint32_t for the sample data.

Changes from using new and delete to using calloc and free. The use of buffers
created with new caused corruption of the other datastructures in the object.
Minor tweaks to logging
Formatting tweaks

Replacing the use of overly verbose this->m_* with just m_*
git ignoring hdf5 files