Fixed a bug in zGetAperture function.

Fixed a bug in zGetAperture function. Added few functions zDeleteConfig,
zGetConfig,and zInsertConfig.