A thin-film coil include a substrate and first and second spiral coils of bifilar winding. The method uses a unified grammar specification of grammars of different languages in a single unified representation of all the individual grammars where equivalent production rules of each of the grammars are merged into a single unified production rule. The first light transmits along a first optical path defined between each of the set of first portions and each of the first set of cameras.