Optimized sample_z_from_ab quickly diverges. For now, reinstall old calculation