Add smdimp library

https://code.google.com/p/smdimp/