setting Z object directly within Edi object -updated/corrected the assertation of correct format for the Z array

Signed-off-by: LK <LK@uni>