Fixed sign of z in output figure

Fixes #93
Propagated plotting to synthetic unit-test