Update impute.h

Add implementation of initialization function