ZIRes function

Various function to calculate results ('ZIRes' object)