minor changes to comments and so on
get histogram n bin function
added comment, better logic vector handling
updated Renyi tests
nbin histogram test