CS420 Z Calculator