Add SmartMatrix library