Bash: Add calc funtion