adding static functions to histobook for making and finding bin arrays, adding unit tests, fixed ndigits problem in taskProgress