Import simulation library

Doh---this should fix the generator issue