Minor update to stats/ package comment.
Added error detection to stats.Histogram functions.
More error handling.