code for the first sensewear analysis