Researchers have devised a mathematical approach to predict the structures of crystals -- a critical step in developing many medicines and electronic devices -- in a matter of hours using only a laptop, a process that previously took a supercomputer weeks or months.