Bash Matrix