Create calculate.pl