Using a Homeogram to Detect Sleep in Free-living Animals