New device could help marijuana users determine if newly legal drug meets expectations.