Changes to dha z matrix