add PKI_init() to functions that were missing it (closes #9)