Efficient embedded sleep wake classification for open-source actigraphy