Researchers at the Carnegie Mellon University have developed a new type of lens that can keep all parts of a scene in focus.