Star Trek’s ‘Tricorder’ was an essential tool, a multifunctional hand-held device used to sense, compute, and record data in a threatening and unpredictable universe — and it’s no longer completely science fiction. A new invention may be able to turn smartphones into powerful hyperspectral sensors, capable of identifying the chemical components of objects from a distance.