A capsule hotel in Tokyo is collecting and analyzing heart rates, breathing frequencies and other data of guests to improve the quality of sleep. Information technology provider NTT Data Japan Corp.