I put some comments around the declaration of compZ and put some stuff in the README, so hopefully it is more clear now.