added sleep bout analysis functionality

1. added sleep bout number/length analysis
2. fixed a bug with chain finder to now properly show the lengths of the
chains