testing histogram and entropy functions
still testing