added sql setup and truncate files; added matrix generation task