hidden beneath the bland and distinctly unfriendly user interface were complex statistical algorithms that took into account personal data of all sorts , from the clearly pertinent ( weight , diet , level of activity , drug use ) to seemingly irrelevant ( hair color , family history of baldness , shoe size ) .