fixing up Z and Z*
2 working versions of get_Dang