fixed update calc script

i was clearing /tmp/calc_in_out improperly i think