removed hdf5 #include from header file
refactored the first of the C functions (texture, now renamed to calcTexture) and replaced all tabs by spaces; I may change have to change the data types of the interface later.
change the data type of the scanData for consistency's sake
added a couple of fixme