Fixed bug in lattice linext mapping.

- Added multi metric wrapper to ll_formulas
- Added CPU version of build combo.
- Misc code reorganization.