Fixed doxygen comments, added basic function for hash calculation