tempo: tiny test suite for info_histogram, fixes

Yet more off-by-one fixes in Octave, but I finally wised up and
tested this function in isolation!

... I'm a completely incompetent developer -- and yet I'm still
certain that I'm a better developer than 90% of CS graduates.
Yikes.
tempo: fix variable type